﻿//------------------------------------------------------------------------------ 
// <copyright file="IjQueryControl.cs" company="Fm Computer">
//     Copyright (c) Fm Computer di Menatti Fulvia.  All rights reserved.
// </copyright>
//-----------------------------------------------------------------------------
namespace FmjQuery
{
    /// <summary>
    /// Interface for create jQueryControl
    /// </summary>
    public interface IjQueryControl
    {
        /// <summary>
        /// Gets or sets client id
        /// </summary>
        string BehaviorID 
        { 
            get; 
            set; 
        }

        /// <summary>
        /// Gets JQueryManager
        /// </summary>
        JQueryManager Manager
        {
            get;
        }

        /// <summary>
        /// Gets list of Resource need for run control
        /// </summary>
        /// <returns>list of resource</returns>
        JWebSources GetResources();

        /// <summary>
        /// Gets list of css image resources
        /// </summary>
        /// <returns>list of images</returns>
        CssResources GetCssResources();

        /// <summary>
        /// Gets list of client nameSpace
        /// </summary>
        /// <returns>list of namespace</returns>
        ClientNameSpaces GetClientNameSpace();

        /// <summary>
        /// Create jQuery control
        /// </summary>
        void CreateJControl();
    }
}
